<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="coupons">
	<!--<div class="dashboard" id="dashboard">
		<ul>${current_account('/account/index.php')}</ul>
	</div>-->
	<div id="mag_menu">
		<h2>用户中心</h2>
		<ul>${current_account('/account/index.php')}</ul>
	</div>
    <div id="mag_content" class="coupons-box">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
    
				
				
				<div class="user_n">
	     <div class="u_tx">
	     <a href="javascript:void(0)"><img src="http://pic2.58.com/n/tuan/v4/uc_img/tx.jpg"></a>
	     <a class="i_tx" href="">修改头像</a>
	     <span class="i_tm"></span>
	     </div>
	     <div class="u_zl">
	       <p class="uz_1">
	         <span class="name">欢迎您，<!--{if $_SESSION['ali_token']}-->
				${mb_strimwidth($login_user['realname'],0,10)}
                <!--{else}-->
				${mb_strimwidth($login_user['username'],0,10)}
				<!--{/if}-->
				</span>
				<!--{if !$havemobile}-->
				   <span class="u_sj_unbind"><a href="/account/setbinds.php">手机未绑定</a></span>
				<!-- {else} -->
	         	   <span class="u_sj"><a href="/account/setbinds.php">手机已绑定</a></span>
	         	<!-- {/if} -->
	         <span class="u_yx">邮箱已认证</span>
	       </p>
	       <p class="uz_2">
	         <em>我的账户：</em>
	         <span>余额<b>${moneyit($login_user['money'])}</b>元</span>
	         <a href="/credit/charge.php">充值</a>
	         	       </p>
	       <p class="uz_3">
	         <em>交易提醒：</em>
	         <a href="/coupon/index.php">未消费<i>${($unconsume_count)}</i></a>
	         <a href="/order/index.php">待支付<i>${($unpay_count)}</i></a>
	         
	         <a>商家回复<i>(0)</i></a>
	         	       </p>
	       <p class="uz_4">
	         <em>常用操作：</em>
	         <a href="/account/setaddress.php">收货地址管理</a>
	         <a href="/usercenter/emailsubcitysetting?r=15258172428295">订阅邮件</a>
	       </p>
	     </div>
	   </div>
                <div class="sect">
					<!--{if $selector=='index'&&!$coupons}-->
					<div class="notice">目前没有可用的{$INI['system']['couponname']}</div>
					<!--{/if}-->
					<table id="orders-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr><th width="288">项目名称</th><th width="76" nowrap>{$INI['system']['couponname']}编号</th><th width="76" nowrap>密码</th><th width="100" nowrap>有效日期</th><th width="220">操作</th></tr>
					<!--{loop $coupons $index $one}-->
						<tr ${$index%2?'':'class="alt"'}>
							<td><a class="deal-title" href="/team.php?id={$one['team_id']}" target="_blank">{$teams[$one['team_id']]['title']}</a></td>
							<td>{$one['id']}</td>
							<td>{$one['secret']}</td>
							<td>${date('Y-m-d', $one['expire_time'])}</td>
							<td><a class="ajaxlink" href="/ajax/coupon.php?action=mobile_choice&mid={$one['order_id']}&id={$one['id']}">短信</a>｜<a href="/coupon/print.php?id={$one['id']}" target="_blank">打印</a></td>
						</tr>	
					<!--{/loop}-->
						<tr><td colspan="5">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
    <!--<div id="sidebar">
		{include block_side_aboutcoupon}
    </div>-->
</div>
</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
